const getters={
    sidebar: state => state.app.sidebar,                  //左侧的导航显示状态
    device: state => state.app.device,                    //显示移动端还是pc
    language:state => state.app.language,      
    md5:state => state.app.md5,                     //用户权限  
    token: state => state.user.token,                    //token
    username: state => state.user.username,                      //用户信息                 
    roles: state => state.user.roles,                    //角色
    perms:state => state.user.perms,                   //用户权限
    roters:state => state.user.roters,                   //用户权限
    roterslist:state => state.user.roterslist                   //用户权限
}

export default getters